/* 
 * GTF writing plugin for BAT.
 * Copyright (C) 2006 Bob Zimmermann <rpz@cse.wustl.edu>
 *
 *  This file is a part of BAT.
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 * BAT_GTF_Writer.h
 *
 * BAT_GeneTab writer class that outputs BAT-formatted files.
 *
 * $Id: BAT_GTF_Writer.h 1408 2006-09-20 20:28:50Z rpz $
 *
 */

#include "BAT_Annotation.h"
#include "BAT_Writer.h"

#ifndef BAT_GTF_WRITER_H
#  define BAT_GTF_WRITER_H

typedef struct _BAT_GTF_Write_Context BAT_GTF_Write_Context;

struct _BAT_GTF_Write_Context
{
  char placeholder;
};

extern BAT_Write_Plugin BAT_GTF_Write_Plugin;

void *BAT_GTF_Write_Context_new ();
void BAT_GTF_Write_Context_delete (void *w, int);
void BAT_GTF_Writer_output_gene_table (void *wc, FILE * fh, BAT_GeneTab * bat);
void BAT_GTF_Writer_output_gene (void *wc, FILE * fh, BAT_Gene * gene);
void BAT_GTF_Writer_output_transcript (void *wc, FILE * fh,
				       BAT_Transcript * tx);
void BAT_GTF_Writer_output_feature (void *wc, FILE * fh, BAT_Feature * feat);
void BAT_GTF_Writer_output_free_feature(void *wc, FILE * fh, BAT_Free_Feature * feat);
void BAT_GTF_Writer_output_comment_lines (void *wc, FILE * fh,
					  BAT_Comment * cmt);
void BAT_GTF_Writer_output_inline_comment (void *wc, FILE * fh,
					   BAT_Comment * cmt);
void BAT_GTF_Writer_output_attribute (void *wc, FILE * fh,
				      BAT_Attribute * attr);

#endif /* BAT_GTF_WRITER_H */
